#!/bin/bash

set -x
set -e

RESOURCE_SERVICE=https://resource.static.zjvis.net/application/aiworks/postgresql
for FILE in "_city_mapper_.csv" \
    "_country_mapper_.csv" \
    "_province_mapper_.csv"
do
    LOCAL_FILE=/tmp/${FILE}
    curl -L -o ${LOCAL_FILE=} ${RESOURCE_SERVICE}/${FILE}
done
